package com.study.studyroom.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.study.studyroom.entity.bo.OrderBo;
import com.study.studyroom.entity.domain.RoomOrder;
import com.study.studyroom.entity.vo.order.OrderSearchVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OrderMapper extends AbstractDomainMapper<RoomOrder>{

    IPage<OrderBo> getOrder(@Param("page") Page<?> page,@Param("condition") OrderSearchVo condition);
}
